Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable logging on the L3 CDK construct #2814

Open
wants to merge 54 commits into
base: main
Choose a base branch
from
Open

Conversation

bobbyu99
Copy link
Contributor

@bobbyu99 bobbyu99 commented Aug 27, 2024

Description of changes

Surface logConfig from L2 AppSyncGraphQLApi to L3 AmplifyGraphQLApi construct, allowing it to be fully configurable.

CDK / CloudFormation Parameters Changed

Issue #, if available

Description of how you validated changes

Added unit tests and e2e tests for different log config cases such as:

  • default config with logging: true and logging: {}
  • custom config with custom sub fields
  • logging is disabled

Checklist

  • PR description included
  • yarn test passes
  • Tests are added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bobbyu99 bobbyu99 marked this pull request as ready for review October 30, 2024 17:22
@bobbyu99 bobbyu99 requested review from a team as code owners October 30, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants